﻿using System.Data.Entity.ModelConfiguration;

namespace Aesha.WoW.Broker.Model
{
    public class ItemSummary
    {
        public int ItemId { get; set; }
        public int SeenCount { get; set; }
        public int MovementLastDay { get; set; }
        public int MovementLastWeek { get; set; }
        public decimal AverageBuyOutPriceLastDay { get; set; }
        public decimal AvergaeBuyOutPriceLastWeek { get; set; }
        public decimal StdDev { get; set; }



        public static EntityTypeConfiguration<ItemSummary> Mapping()
        {
            var m = new EntityTypeConfiguration<ItemSummary>();

            m.HasKey(t => t.ItemId);

            m.ToTable("ItemSummary");

            return m;

        }

    }
}
